package com.yehuishou.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yehuishou.dao.HUserDao;
import com.yehuishou.pojo.HUser;
import com.yehuishou.service.HUserService;

@Service
public class HUserServiceImpl implements HUserService{

	@Autowired
	private HUserDao huserDao;
	
	@Override
	public HUser findByUname(String uname) {
		return huserDao.findByUname(uname);
	}

	@Override
	public HUser findById(Integer h_uid) {
		return huserDao.findById(h_uid);
	}

}
